package com.itheima.day9;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class zuoye3 {
                                                 //转移复制
    public static void main(String[] args) throws IOException {
        FileInputStream fis= new FileInputStream("G:\\misao.txt");
        FileOutputStream fos = new FileOutputStream("F:\\misao.txt");
         int as;
         while ((as = fis.read()) != -1);{
            fos.write(as);
        }

        fis.close();
        fos.close();
        }

}